﻿<%@ Page Language="C#" AutoEventWireup="true" CodeBehind="addtopic.aspx.cs" Inherits="Web.bbs.addtopic" %>

<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">

<html xmlns="http://www.w3.org/1999/xhtml" >
<head runat="server">
    <title></title>
    <link href="../css/Page.css" rel="stylesheet" type="text/css" />
    <link href="../css/CodeProject.css" rel="stylesheet" type="text/css" />
      <script type="text/javascript" src="../js/jquery.js"></script>    
    <script type="text/javascript">
        $(document).ready(init);
        function init() {
           
        }
            
    </script>  
    <script type="text/javascript" charset="utf-8" src="/kindeditor.js"></script>
    <script type="text/javascript">
        KE.show({
        id: 'txtbody', 
            imageUploadJson : '../../upload_json.ashx',
            fileManagerJson : '../../file_manager_json.ashx',
            allowFileManager : true,
		    afterCreate : function(id) {
			    KE.event.ctrl(document, 13, function() {
				    KE.util.setData(id);
				    document.forms['form1'].submit();
			    });
			    KE.event.ctrl(KE.g[id].iframeDoc, 13, function() {
				    KE.util.setData(id);
				    document.forms['form1'].submit();
			    });
		    }
        });
    </script> 
    
</head>
<body>
    <form id="form1" runat="server">
    <div>
    <table style="border:1px solid #000000;margin-top:10px" border="0" cellpadding="0" cellspacing="0" width="98%">
            <tr>
                <td colspan="3" class="TitleBar" colspan="left" align="center">
                    发表新话题
                </td>
            </tr>
             <tr>
                <td class="ItemName" align="right">文章标题：</td>
                <td colspan="2" class="ItemCellLeft" align="left">
                    <asp:TextBox style="width:300px" ID="txttitle" runat="server" ></asp:TextBox>你还可以输入80个字符
                </td>
            </tr> 
            
            
              <tr>
                <td style="border-top:1px solid #000000" class="ItemName" align="right">文章内容：</td>
                <td style="border-top:1px solid #000000" colspan="2" class="ItemCellLeft" align="left">
                    <textarea runat="server" id="txtbody" cols="100" rows="8" style="width:100%;height:300px;visibility:hidden;" ></textarea>
                </td>
            </tr> 
            
              <tr>
                <td class="ItemName" align="right">选择版块：</td>
                <td class="ItemCellLeft" align="left">
                    <asp:DropDownList ID="ddlArticleKind" runat="server">
                    </asp:DropDownList>
                </td>
                <td class="ItemCellRight">&nbsp;</td>
            </tr> 
            
            <tr>
                <td class="ItemName" align="right">帖子给分：</td>
                <td class="ItemCellRightBottom" align="left" colspan="2">
                   &nbsp;<asp:TextBox ID="txtscore" runat="server"></asp:TextBox>(0-200)　当前可用分：<asp:Label runat="server" ID="scoreky"></asp:Label> 结帖后系统返还本帖50%的可用分！ 查看论坛积分策略，让你快速获得可用分！
                </td>
               
            </tr> 
                                                       
            <tr>
            <td class="ItemNameBottom" >&nbsp;</td>
                <td align="left" class="Pager" colspan="2">
                &nbsp;<asp:Button ID="btAdd" runat="server" Text="发表话题" onclick="btAdd_Click" />问题得到解决后请及时结帖给分哦
                </td>
            </tr>                              
        </table>
    </div>
    </form>
</body>
</html>
